<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <title>志愿一点通</title>
    <link href="${ctxStatic}/bootstrap/3.3.2/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
    <link rel="stylesheet" href="${ctxStatic}/app/css/master.css">
</head>
<body>
<nav class="topbar bluebg">
    <a class="icon-arrow icon-return" href="javascript:history.go(-1);"></a>
    <h1>我收藏的学校<div id="fuck"></div></h1>
</nav>
<div class="wrap">
    <div class="schoollist">
        <ul>
            <c:forEach items="${favSchoolList}" var="school">
                <li>
                    <a href="${wechat}/schoolDetail?schoolCode=${school.schoolCode}&schoolCodeSn=${school.schoolCodeSn}">
                        <div class="schoolbox clearfix">
                            <div class="school-logo"><img src="${school.schoolLogo}"></div>
                            <div class="school-info">
                                <div class="school">
                                    <span class="school-name">${school.schoolName}</span>
                                    <span class="enroll-rate frt"></span>
                                </div>
                                <div class="school-tab">
                                    <span class="label label-info">${school.proviceName}</span>
                                    <span class="label label-info">${school.cityName}</span>
                                    <c:if test="${school.flag211 eq '1'}">
                                        <span class="label label-info">211</span>
                                    </c:if>
                                    <c:if test="${school.flag985 eq '1'}">
                                        <span class="label label-info">985</span>
                                    </c:if>
                                    <c:if test="${school.flagYan eq '1'}">
                                        <span class="label label-info">研</span>
                                    </c:if>
                                    <span class="label label-info">${fns:getDictLabel(school.schoolType,'school_type','综合')}</span>
                                </div>
                            </div>
                        </div>
                    </a>
                    <i class="icon-wen"></i>
                    <span class="favor"><i class="icon-starcheck" onclick="favoriteMajor('school','','${school.schoolCode}','${school.schoolCodeSn}','',this);"></i></span>
                </li>
            </c:forEach>
        </ul>
    </div>
</div>
<script src="${ctxStatic}/jquery/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="${ctxStatic}/bootstrap/3.3.2/js/bootstrap.min.js" type="text/javascript"></script>
<script src="${ctxStatic}/app/js/main.js" type="text/javascript"></script>
</body>
</html>